home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / Visual Cafe Pro v1.0 / TUTORIAL.BIN / HorizontalSpinButtonPanel.class (.txt) < prev    next >
Encoding:
Java Class File  |  1996-12-16  |  580 b   |  16 lines

  1. package symantec.itools.awt;
  2.  
  3. import java.awt.Component;
  4.  
  5. public class HorizontalSpinButtonPanel extends SpinButtonPanel {
  6.    public HorizontalSpinButtonPanel() {
  7.       ((Component)this).resize(32, 16);
  8.    }
  9.  
  10.    public void reshape(int var1, int var2, int var3, int var4) {
  11.       super.incButton.reshape(var3 / 2, 0, var3 / 2, var4);
  12.       super.decButton.reshape(0, 0, var3 / 2, var4);
  13.       super.reshape(var1, var2, var3, var4);
  14.    }
  15. }
  16.